Securing the contents of a memory device

ABSTRACT

A memory device may be equipped with quick erase capability to secure the contents of the memory device. The quick erase capability may effectively permanently disable access to data stored in the memory device instantaneously upon a command being issued, making all previous data written to the memory device unreadable. The quick erase capability may allow use of the memory device for new write operations and for reading the newly written data immediately once the erase command is received and executed. The quick erase capability may begin a physical erase process of data not newly written without altering other aspects of the quick erase. Aspects may be accomplished with one or more bits per row in a memory device.

TECHNICAL FIELD

This disclosure relates generally to secure computing and more particularly to securing the contents of memory devices.

BACKGROUND

In order to protect information, the ability to quickly prevent access to stored data may be useful. For example, individuals utilizing cloud computing may want to be able to wipe clean a main memory of a cloud machine. Another example is physical access to shared physical resources such as servers. Dynamic random access memory (DRAM) devices may retain their contents for a period of time without power or without refreshing. Unauthorized parties with physical access may use known ways such as cold-boot attacks to exploit DRAM devices. Also, persistent memory technologies such as phase-change memory can be very slow to write or erase while posing security concerns such as the theft of a non-volatile dual inline memory module (DIMM). The tedious process of erasing by overwriting all memory with some pattern may not be fast enough to prevent access to the data.

SUMMARY

A memory device may be equipped with quick erase capability to secure the contents of the memory device. The quick erase capability may effectively permanently disable access to data stored in the memory device instantaneously upon a command being issued, making all previous data written to the memory device unreadable. The quick erase capability may allow use of the memory device for new write operations and for reading the newly written data immediately once the erase command is received and executed. The quick erase capability may begin a physical erase process of data not newly written without altering other aspects of the quick erase. Aspects may be accomplished with one or more bits per row in a memory device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 diagrammatically depicts a memory device with a capability to make data written to the memory device unreadable;

FIG. 2 diagrammatically depicts a memory device with quick erase capability to secure the contents of a memory device;

FIG. 3 diagrammatically depicts aspects of a memory device with quick erase capability;

FIG. 4 diagrammatically depicts a memory device including multiple DRAM chips adapted to make data written prior to an erasure command unreadable; and

FIG. 5 is a flow chart illustrating an operation of a security controller securing the contents of a memory device according to an embodiment.

DETAILED DESCRIPTION

In order to protect information, the ability to quickly prevent access to stored data may be useful. For example, individuals utilizing cloud computing may want to be able to wipe clean a main memory of a cloud machine. Another example is physical access to shared physical resources such as servers. Dynamic random access memory (DRAM) devices may retain their contents for a period of time without power or without refreshing. If a person, whether authorized or unauthorized, may physically control the DRAM device, the person may then read the contents of the DRAM device regardless of other factors (e.g., power). Also, persistent memory technologies such as phase-change memory can be very slow to write or erase while posing security concerns such as the theft of non-volatile DIMMs. The tedious process of erasing by overwriting all memory with some pattern may not be fast enough to prevent access to the data. Other possibilities such as a self-destruct of the interface to secure the stored data may render the data or memory device entirely useless. A quick erase aspect of a memory device may be useful in securing the contents of the memory device.

A memory device may be equipped with quick erase capability to secure the contents of the memory device. The quick erase capability may effectively permanently disable access to data stored in the memory device instantaneously upon a command being issued. The quick erase capability may allow use of the memory device for new write operations and for reading the newly written data immediately once the erase command is received and executed. This may allow a new operating system to boot without delay. The quick erase capability may begin a physical erase process of data not newly written without altering other aspects of the quick erase. Aspects may be accomplished with one or more bits per row in a memory device.

FIG. 1 diagrammatically depicts a memory device 100 with a capability to make data written to the memory device 100 unreadable. Memory device 100 may include a group version data storage 101. The group version data storage may include a logical value redundantly stored in three or more storage cells 104 and may be a bit or a collection of bits. The logical value may be a group version value 102. A voting block 106 may exist and may be adapted to perform a majority voting operation to accommodate a single event upset such as a single bit upset 103. The single bit upset may be a bad bit or may be as a result of ionizing radiation. Error correcting code and scrubs may be expected to correct such an occurrence at a regular interval. The regular interval may not be soon enough in all cases. The voting block 106 may analyze the logical values 104 to determine which of the values is in the majority. In FIG. 1 for example, at least two of the three bits contain logical values of “1.” The voting block 106 may designate the value “1” as the group version value. The voting block 106 may also perform an operation to correct the value of the single bit upset 103, in this example changing the value from a “0” to a “1” through an operation such as a write. Ultimately, the group version value 102 may be used to assist in making data written to the memory device 100 unreadable.

Memory device 100 may include a data storage section such as array 105. Array 105 may include a plurality of rows 110 of storage cells or bits to hold data written to the memory device 100. Typically arrays include hundreds of rows 110, represented as R1 through Rn in FIG. 1. Array 105 may include a plurality of columns 120 of storage cells or bits to hold data written to the memory device 100. Typically arrays include hundreds of columns 120, represented as C1 through Cm in FIG. 1. A particular row 111 may include a row version value 112 for the particular row 111. The row version value 112 may be in a particular column 121. In an embodiment such as group version storage 101 has multiple bits stored redundantly as described above, multiple columns are used. The particular column 121 may include row version values 112 for each row of the array 105. In embodiments, the row version value 112 may correlate to data in storage cells in a subset of a row such as a particular byte, and may effectively be a row version value 112 for the particular byte of data. In the case of the row version value 112 correlating to data in a subset of a row, the particular row 111 may include multiple row version values with each row version value 112 associated with the particular byte, for example. Row version values 112 may be stored in one or more columns such as C1, C2, and C3. In embodiments, the array 105 may include the group version data storage 101 and the group version value 102. Ultimately, the row version value 112 may be used to assist in making data previously written to the memory device 100 unreadable.

FIG. 2 diagrammatically depicts a memory device 200 with quick erase capability to secure the contents of the memory device 200. A quick erase may achieve security through a logical operation which may disable data access but may not necessarily include a physical erase. The memory device 200 may be connected to a memory controller 280 connected to a host 270. In some embodiments, the host 270 may be a processor. A read, write, or erase request to the memory device 200 may derive from the host 270 via the memory controller 280. The memory device 200 may include a data buffer 297 which may hold data potentially being read or potentially being written. The memory device 200 may include an address decoder 298 which may receive an address to select a memory location, e.g., specify a particular row and one or more columns in the particular row. The memory device 200 may include a command decoder 299 which may activate a read, a write, or an erase instruction.

Memory device 200 may include aspects similar or the same to memory device 100. Memory device 200 may include a group version data storage 201. The group version data storage 201 may be a register with a critical charge large enough so that the register is insensitive to ionizing radiation. The group version data storage 201 may include a group version value 202, similar to the group version value 102. Memory device 200 may include a data storage section such as array 205, similar to the array 105. Similar to the row version value 112, the array 205 may include a row version value 212 for a particular row or a particular subset of data such as a byte.

Memory device 200 may include a security controller 220 which may be configured to interact with other aspects of the memory device 200 during a read, write, or erase request. The security controller 220 may be configured to operate uniquely for a read, a write, or an erase. In an embodiment during a read from a particular row of the array 205, the security controller 220 may compare the group version value 202 with the row version value 212 for the particular row. When the group version value 202 matches the row version value 212 for the particular row, data may be output from the particular row. The data from the particular row may be output to the data buffer 297, and ultimately the memory controller 280 and the host 270. In effect, a security ruling was issued ruling the data readable from the particular row. When the group version value 202 fails to match the row version value 212 for the particular row, data may not be output from the particular row. In effect, a security ruling was issued ruling the data unreadable from the particular row. When the contents are ruled unreadable, the memory controller 280 and the host 270 may receive a signal denial, a known pattern, or a random pattern. Other possibilities for outputting data in response to a read request are considered.

In an embodiment during an erase to a particular row to the array 205, the security controller 220 may change the group version value 202 to a new group version value. The group version data storage 201 may hold the new group version value and may no longer hold the previous group version value 202. The logical value of the new group version value may not be the logical value of the previous group version value 202. The erase may further comprise a physical erase of the contents of addresses (data) of the particular row of array 205 where the row version value of the particular row mismatches the new group version value. The security controller 220 may not process another erase request until the physical erase completes. A quick erase aspect of the disclosure may be present, making contents of the array 205 written prior to the erasure command unreadable even though the physical erase may not be complete. A read from a particular row may not be allowed when the row version value 212 for the particular row fails to match the group version value 202, which may be the new group version value following an erase request. Thus, even if the physical erase may not be complete, mismatching logical values of the group version value 202 and the row version value 212 may disallow a read to data stored prior to the erase request. In embodiments, when the new group version value matches the row version value 212, the physical memory may not be erased. When the new group version value fails to match the row version value 212 or in embodiments when no comparison is performed upon an erase request, a physical erase of the particular row may begin. Other possibilities are considered.

In an embodiment during a write to a particular row to the array 205, the security controller 220 may copy the group version value 202 to the row version value 212. The host 270 may send data to be written to the particular row to the data buffer 297 via the memory controller 280. The security controller 220 may write the data to be written to the particular row. The write of data may be from the data buffer 297 to the array 205. Other values in the particular row may remain, for example, when the data to be written is merely a subset of a row. The security controller 220 may clear the other values in the particular row in storage cells to which data is not to be written. Such clearing of the other values may occur if the security controller 220 finds that the row version value 212 differs from the current group version value 202. Clearing the other values in the particular row prevents writing into the subset of the row and then having read capability to other data in the particular row, since the new row version value 212 written now is the same as the group version value 202. Clearing of the other values may occur by writing a known pattern. The known pattern may be written to the data buffer 297 prior to writing the data to be written to the array 205.

In an embodiment during a write to a particular row to the array 205, the contents of the particular row may be accessed by the data buffer 297. The security controller 220 may compare the group version value 202 with the row version value 212 for the particular row. When the group version value 202 fails to match the row version value 212, the contents of the particular row may be cleared in the data buffer 297. The security controller 220 may copy the group version value 202 to the row version value 212 and write the data to be written in the data buffer 297. The contents of the data buffer 297 may be written to the particular row of the array 205. In an embodiment, a write request to a particular row may be allowed immediately after an erase request. Thus, even if the physical erase may not be complete, the logical value of the group version value 202 may be copied to the row version value 212 to permit data to be written to the particular row. However, since the remainder of the particular row has been cleared, subsequent reads from the particular row do not output data written by a previous write with the previous group version value.

In embodiments, the row version value 212 may correlate to data in storage cells in a subset of a row such as a particular byte, and may effectively be a row version value 212 for the particular byte of data. In the case of the row version value 212 correlating to data in a subset of a row, a particular row of the array 205 may include multiple row version values with each row version value 212 associated with the particular byte, for example. To write to the particular byte in the particular row, data may be written to the particular byte and other bits in the particular row may be cleared. If not cleared, data may be rendered unreadable by the mismatch between the group version value 202 and the row version value 212 for bytes written prior to the erasure command. One possibility includes accessing the particular row to a row buffer. If the row version value 212 for the particular byte mismatches the group version value 202, the particular byte may be cleared. The clearing may occur for every bit in the particular row where the row version value 212 associated with each bit, perhaps associated through a byte, mismatches the group version value 202. The group version value 202 may be copied to the row version value 212 for the particular byte in the particular row. The data to be written to the particular byte in the particular row may be written to the row buffer. The actual write to the particular byte in the particular row may occur from the row buffer to the particular byte in the particular row in the array 205. Other possibilities for writing data are considered.

FIG. 3 diagrammatically depicts aspects of a memory device with quick erase capability. FIG. 3 provides example aspects of the memory device and shows potential aspects of a security controller, address decoder, command decoder, or data buffer mentioned above. The array 105 and the group version value 102 from FIG. 1 are shown to help portray the interaction of the various potential aspects. When row version values are in column C1 for each row of the array 105, a sense latch 350 may exist to capture the row version value for a particular row of the array 105. During a read request from the particular row, the group version value 102 may be compared with a value of the sense latch 350 for the particular row. During a write request to the particular row, the group version value 102 may be copied to the row version value for the particular row and thus the value of the sense latch 350 may match the group version value 102. A column buffer 360 may access data 370 or access a sequence of bits of the array 105. A column select 365 may choose an appropriate column address of the array 105 to access. A row decoder 380 may choose an appropriate row address of the array 105 to access. A write command 390, for example, may thus be successfully completed. If XOR gate 318 finds, during a read, that the group version value 102 differs from the row version value (in sense latch 350) for an addressed row, NOR gates 319 may output “0”'s, regardless of data in data 370. FIG. 3 represents a potential way to design aspects of a memory device with quick erase capability, other possibilities are considered.

FIG. 4 diagrammatically depicts a memory device including multiple DRAM chips adapted to make data written prior to an erasure command unreadable. The memory device 400 may be a dual inline memory module (DIMM). The memory device may include a buffer chip 410. The memory device 400 may be connected to a memory controller 480 connected to a host 470. In some embodiments, the host 470 may be a processor. A read, write, or erase request to the memory device 400 may derive from the host 470 via the memory controller 480, shown in FIG. 4 to be included in the host 470. Command, address, and data signals 490 may travel between the memory controller 480 and the memory device 400 including the buffer chip 410.

The memory device 400 may include at least one dynamic random access memory (DRAM) chip 440. In the case of the memory device 400 being a DIMM, many DRAM chips 440 may be included as shown in FIG. 4. Aspects of the buffer chip 410 may be similar to memory devices 100, 200 in FIG. 1-2. The buffer chip may be aware of the nature of the DRAM chips 440 being used, including the number of rows and number of columns. The buffer chip may have capability to personalize row decoding for the DRAM chips 440. The buffer chip may include a security controller similar to security controller 220 in FIG. 2. The buffer chip 410 may include a group version value 402. The group version value may be stored in a group version data storage similar to group version data storages 101, 201 in FIG. 1-2. The buffer chip 410 may include a row version value 412. A row version value 412 may exist for each row of the buffer chip 410. The row version value 412 for each row of the buffer chip 410 may serve as the row version value for a row on each DRAM chip 440. For example, if each DRAM chip 440 includes “n” rows, the buffer chip 410 may include “n” rows with a row version value 412 for each of the “n” rows. In effect, the DIMM 400 may have “n” rows with the buffer chip 410 having “n” row version values 412. In embodiments, the buffer chip 410 may include a row version value 412 for each row of each DRAM chip 440 or for a subset of each DRAM chip 440 such as a byte.

A read, write, or erase request to the memory device 400 may derive from the host 470 via the memory controller 480. Associated command, address, and data signals 490 to a particular DRAM chip 440 may travel between the memory controller 480 and the buffer chip 410. In an embodiment during a read from a particular row of the particular DRAM chip 440, the security controller may compare the group version value 402 with the row version value 412 associated with the particular row of the DRAM chip 440. When the group version value 402 matches the row version value 412 associated with the particular row of the DRAM chip 440, data may be output from the particular row of the particular DRAM chip 440. When the group version value 402 fails to match the row version value 412 associated with the particular row of the DRAM chip 440, data may not be output from the particular row of the particular DRAM chip 440.

In an embodiment during an erase to a particular row of the particular DRAM chip 440, the security controller may change the group version value 402 to a new group version value. The logical value of the new group version value may not be the logical value of the previous group version value 402. The erase may be a physical erase of the contents of addresses (data) of the particular row of the particular DRAM chip 440 where the row version value 412 associated with the particular row of the particular DRAM chip 440 mismatches the new group version value. The security controller may not process another erase request until the physical erase completes. A quick erase aspect of the disclosure may be present, making contents of the particular DRAM chip 440 unreadable even though the physical erase may not be complete. A read from a particular row of the particular DRAM chip 440 may not be allowed when the row version value 412 associated with the particular row of the particular DRAM chip 440 fails to match the group version value 402, which may be the new group version value following an erase request.

In an embodiment during a write to a particular row of the particular DRAM chip 440, the security controller may copy the group version value 402 to the row version value 412 associated with the particular row of the particular DRAM chip 440. The security controller may write the data to be written to the particular row of the particular DRAM chip 440. The security controller may clear the other values in the particular row of the DIMM in storage cells to which data is not to be written but that is associated to the row version value 412. Such clearing of the other values may occur if the security controller finds that the row version value 412 differs from the current group version value 202. Clearing the other values in the particular row of the DIMM may prevent having read capability to other DRAM chips in the particular row after writing into the particular DRAM chip 440. Clearing of the other values may occur by writing a known pattern. Other possibilities are considered including other ways of handling read, write, or erase requests in the context of memory devices such as DIMMs.

FIG. 5 is a flow chart illustrating an operation of a security controller securing the contents of a memory device according to an embodiment. Operation 500 begins by receiving a command at block 501. Block 502 determines whether the command is a read request, a write request, or an erase request.

If the command is a read request, a group version value and a row version value may be compared at block 511. The group version value and the row version value may be equal in logical values such as “0” or “1.” The comparison may occur without changing either the group version value or the row version value. The comparison may result in a match or a mismatch. A match may describe equal values. A mismatch may describe unequal values. Other embodiments are considered with differing ways to perform the comparison. Performing the comparison may be characterized as applying evaluation logic. Reaching a result of a match or mismatch may be characterized as resolving a security ruling. If the comparison of the group version value with the row version value of a particular row results in a match, data may be output from the particular row at block 514. The data may be considered contents ruled readable. The read request may be fulfilled with the data. Contents may be delivered, for example, to a host making the request. If the comparison of the group version value with the row version value of a particular row results in a mismatch, data may not be output from the particular row at block 516. The data may be considered contents ruled unreadable. When the contents are ruled unreadable, a signal denial may be delivered, a known pattern such as all “0”'s may be delivered, or a random pattern may be delivered. Reads may occur normally with the group version value matching the row version value for each row.

If the command is an erase request, a group version value may be changed to a new group version value at block 531. The contents of addresses (data) written prior to the erasure command may be unreadable. An erasure may be initiated at block 536. The erasure may be a physical erase of the data where the row version value of a particular row mismatches the new group version value at block 536. Another erase request may not be accepted until the physical erase at block 536 is completed. If the new group version value matches the row version value of a particular row, the contents of addresses may not be erased from the particular row and may be readable or writable. In embodiments, a read request or a write request may be allowed before completing the physical erase. In embodiments, as an erase occurs to a first row, a read may occur to a second row even though data to the first row has not been physically erased if the row version value for the second row matches the group version value. In embodiments, as an erase occurs another erase command may not be allowed until every bit of data affected by the first erase command is either physically erased or overwritten. In embodiments, the group version value and a row version value may be compared, resulting in a match or a mismatch. The comparison may occur without changing any row version value. Other possibilities such as beginning to erase all rows upon changing the group version value are considered.

If the command is a write request, a group version value may be copied to the row version value at block 521. The group version value may then match the row version value. Data may be written at block 522. During a write request to a particular row, data written to the particular row may not write to the entire row. For example, if a row has 100 bits holding values, in some cases only 25 bits may be written to. In this case, the remaining 75 bits may be cleared. Clearing may occur if the write request changed the row version value, that is, if the group version value was not equal to the row version value prior to the copying of the group version value to the row version value. In embodiments, clearing may not occur if the write request did not change the row version value, that is, if the group version value was equal to the row version value prior to the write request. Likewise, if a row version value represents a byte, or other block of data, the byte may have its own version value and the other data in the row may not need to be cleared. In the example, clearing may constitute setting each of the 75 bits not being written to a “0,” “1,” or predetermined pattern of “0”'s and “1”'s. Thus, the remainder of the row may be cleared at block 523. With the write request fulfilled, the contents of the row may then be readable. Writes may always be allowed. Under standard operating conditions, writes happen normally with the group version value matching the row version value for each row.

In embodiments, a host may be allowed to read, write, or erase. The host may not be allowed to set a group version value. The host may not be allowed to set an item or row version value. Aspects of the disclosure may allow for this to happen indirectly, but not directly as the result of an action by the host. 

1. A memory device, comprising: a data storage section of a memory to hold data written to the memory device; a group version data storage to store a group version value and associated with the data storage section of the memory; and wherein the memory device is adapted so that when the group version value changes, all previous data written to the data storage section of the memory becomes unreadable.
 2. The memory device of claim 1, further comprising a row version value wherein when the group version value differs from the row version value, data with the different row version value becomes unreadable.
 3. The memory device of claim 1, wherein data that becomes unreadable is physically erased.
 4. The memory device of claim 1, further comprising a row version value wherein when the group version value matches the row version value, data associated with the row version value is readable.
 5. A memory device, comprising: one or more rows having a plurality of storage cells; a first memory element to store a group version value; a second memory element to store a row version value for a row in the one or more rows; and a security controller, the security controller configured to, during a read from a particular row, compare the group version value with the row version value for the particular row, and output data from the particular row when the group version value matches the row version value for the particular row and not output data from the particular row when the group version value fails to match the row version value for the particular row; the security controller further configured to, when an erase command is received, change the group version value to a new group version value; and the security controller further configured to, during a write of data to a particular row, copy the group version value to the row version value and write the data to be written.
 6. The memory device of claim 5, further comprising the security controller further configured to, when an erase command is received, begin an erasure when the row version value fails to match the new group version value.
 7. The memory device of claim 5, further comprising the security controller further configured to, during a write of data to a particular row, clear other values in the row when the original row version value fails to match the group version value.
 8. The memory device of claim 5, wherein the security controller of the memory device is adapted to receive from a host one of a read request, a write request, and an erase request.
 9. The memory device of claim 5, wherein the security controller is adapted to perform a majority voting operation wherein the group version value has a logical value redundantly stored in three or more storage cells thereby accommodating a single event upset.
 10. The memory device of claim 5, wherein the group version value is stored in a register with a critical charge insensitive to ionizing radiation. 11-27. (canceled) 